#pragma once
#include "pch.h"
#include "Live/Events/Event.h"

namespace Live
{
    class Layer
    {
    public:
        Layer(const std::string& name = "Layer");
        virtual ~Layer();

        virtual void OnAttach() {}
        virtual void OnDetach() {}
        virtual void OnUpdate() {}
        virtual void OnEvent(Event& event) {}

        inline const std::string GetName() const { return m_LayerName; }

    protected:
        std::string m_LayerName;
    };
}
